package com.zhi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * 存储最大值,用以存储学号，工号，班级号最大值
 */
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MaxValue {

	//code
	@Id
	private String code;

	//code对应最大值
	@Column(nullable = false)
	private Integer value;

}
